let arr = [1,2,3]

function(a,b,c){
    return a+b+c 
}
add(...arr)